don't ignore realized but visible && !mapped resize containers (which is
authorTim Janik <timj@gtk.org>
Wed, 2 Jan 2002 22:08:49 +0000 (22:08 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 2 Jan 2002 22:08:49 +0000 (22:08 +0000)
Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
        realized but visible && !mapped resize containers (which is
        possible with unset CHILD_VISIBLE now).

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcontainer.c

index fd45653a47a9225a75184307ab9024700bdd3027..06afd90dc9eecdb91c1f4cfe8a073b7cade04cb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
+       realized but visible && !mapped resize containers (which is
+       possible with unset CHILD_VISIBLE now).
+
 2002-01-02  jacob berkman  <jacob@ximian.com>
 
        * gtk/Makefile.am (LDFLAGS): automake still doesn't support
index fd45653a47a9225a75184307ab9024700bdd3027..06afd90dc9eecdb91c1f4cfe8a073b7cade04cb6 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
+       realized but visible && !mapped resize containers (which is
+       possible with unset CHILD_VISIBLE now).
+
 2002-01-02  jacob berkman  <jacob@ximian.com>
 
        * gtk/Makefile.am (LDFLAGS): automake still doesn't support
index fd45653a47a9225a75184307ab9024700bdd3027..06afd90dc9eecdb91c1f4cfe8a073b7cade04cb6 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
+       realized but visible && !mapped resize containers (which is
+       possible with unset CHILD_VISIBLE now).
+
 2002-01-02  jacob berkman  <jacob@ximian.com>
 
        * gtk/Makefile.am (LDFLAGS): automake still doesn't support
index fd45653a47a9225a75184307ab9024700bdd3027..06afd90dc9eecdb91c1f4cfe8a073b7cade04cb6 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
+       realized but visible && !mapped resize containers (which is
+       possible with unset CHILD_VISIBLE now).
+
 2002-01-02  jacob berkman  <jacob@ximian.com>
 
        * gtk/Makefile.am (LDFLAGS): automake still doesn't support
index fd45653a47a9225a75184307ab9024700bdd3027..06afd90dc9eecdb91c1f4cfe8a073b7cade04cb6 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
+       realized but visible && !mapped resize containers (which is
+       possible with unset CHILD_VISIBLE now).
+
 2002-01-02  jacob berkman  <jacob@ximian.com>
 
        * gtk/Makefile.am (LDFLAGS): automake still doesn't support
index fd45653a47a9225a75184307ab9024700bdd3027..06afd90dc9eecdb91c1f4cfe8a073b7cade04cb6 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
+       realized but visible && !mapped resize containers (which is
+       possible with unset CHILD_VISIBLE now).
+
 2002-01-02  jacob berkman  <jacob@ximian.com>
 
        * gtk/Makefile.am (LDFLAGS): automake still doesn't support
index fd45653a47a9225a75184307ab9024700bdd3027..06afd90dc9eecdb91c1f4cfe8a073b7cade04cb6 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
+       realized but visible && !mapped resize containers (which is
+       possible with unset CHILD_VISIBLE now).
+
 2002-01-02  jacob berkman  <jacob@ximian.com>
 
        * gtk/Makefile.am (LDFLAGS): automake still doesn't support
index 84a814e08c63dc2599eced028b994c6ef8053550..79cdd4de2e202a871ea6f3e0729e8c398bf4dd80 100644 (file)
@@ -1056,7 +1056,7 @@ _gtk_container_queue_resize (GtkContainer *container)
        }
       
       if (GTK_WIDGET_VISIBLE (resize_container) &&
-         (GTK_WIDGET_TOPLEVEL (resize_container) || GTK_WIDGET_DRAWABLE (resize_container)))
+         (GTK_WIDGET_TOPLEVEL (resize_container) || GTK_WIDGET_REALIZED (resize_container)))
        {
          switch (resize_container->resize_mode)
            {
@@ -1077,7 +1077,7 @@ _gtk_container_queue_resize (GtkContainer *container)
              break;
 
            case GTK_RESIZE_PARENT:
-             /* Ignore, should not be reached */
+             g_assert_not_reached ();
              break;
            }
        }